import yaml
YAML_FILE='/workspace/schemes/111.yml'

if __name__ =='__main__':
    with open(YAML_FILE,'r') as f:
        yaml_data=yaml.safe_load(f)
    cons=yaml_data['connections']
    for con in cons:
        print(con['pre'],'->',con['cur'])
        for k,v in con['args'].items():
            if v.startswith('{') and v.endswith('}'):
                        v=v[1:-1]
            print(k,':',v)
        print('___')